package com.lin.manager.notice.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @作者: 林江
 * @创建时间: 2024-04-10 19:11:15
 * @功能:
 */
@Data
@TableName("notice_user")
@ApiModel("通知公告 -- 接收用户实体类")
public class NoticeUserEntity {
    @TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty("主键id")
    private Long id;
    @ApiModelProperty("通知公告id")
    private Long noticeId;
    @ApiModelProperty("接收人id")
    private Long userId;
    @ApiModelProperty("接收人")
    private String userName;
    @ApiModelProperty("0-未读，1-已读")
    private Integer status;
    @ApiModelProperty(value = "逻辑删除 0-否 1-删除", hidden = true)
    private Integer del;

}
